package com.rybbaby.tss.front.tssPayment.entity;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;

/**
 * @description 考勤相关视图
 *
 * @author 何朝一
 *
 * @createDate 2017-08-24 上午12:04:35
 */
@Entity
@Table(name = "view_payment_return_premium")
@DynamicUpdate(true)
@DynamicInsert(true)
public class ViewPaymentReturnPremium implements Serializable {


    private static final long serialVersionUID = 8231895242711318785L;
    /** 主键 **/
    private String id;
    /** 姓名 **/
    private String name;
    /** 联系电话 **/
    private String contactPhone;
    /** 缴费总额 **/
    private Double sumAmout;
    /** 退费总额 **/
    private Double returnAmout;
    /** 定金总额 **/
    private Double sumDeposit;
    /** 会员类型 **/
    private Integer type;
    /** 报名状态 **/
    private Integer applyStatus;
    /** 退费类型 **/
    private Integer refundType;
    /** 操作人 **/
    private String userName;
    /** 顾问 **/
    private String realName;
    /** 最后操作日期 **/
    private java.util.Date maxUpdateTime;


    @Id
    @GeneratedValue(generator = "view_payment_return_premiumIDGenerator" , strategy = GenerationType.AUTO)
    @GenericGenerator(name = "view_payment_return_premiumIDGenerator" , strategy = "uuid")
    @Column(name = "id", nullable= false, length = 32)
    public String getId() {
        return this.id;
    }

    public void setId(String id) {
        this.id = id;
    }

    @Column(name = "name", nullable= true, length = 11)
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Column(name = "contactPhone", nullable= true, length = 11)
    public String getContactPhone() {
        return contactPhone;
    }

    public void setContactPhone(String contactPhone) {
        this.contactPhone = contactPhone;
    }

    @Column(name = "sumAmout", nullable= true, length = 11)
    public Double getSumAmout() {
        return sumAmout;
    }

    public void setSumAmout(Double sumAmout) {
        this.sumAmout = sumAmout;
    }

    @Column(name = "returnAmout", nullable= true, length = 11)
    public Double getReturnAmout() {
        return returnAmout;
    }

    public void setReturnAmout(Double returnAmout) {
        this.returnAmout = returnAmout;
    }

    @Column(name = "sumDeposit", nullable= true, length = 11)
    public Double getSumDeposit() {
        return sumDeposit;
    }

    public void setSumDeposit(Double sumDeposit) {
        this.sumDeposit = sumDeposit;
    }

    @Column(name = "type", nullable= true, length = 11)
    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    @Column(name = "applyStatus", nullable= true, length = 11)
    public Integer getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(Integer applyStatus) {
        this.applyStatus = applyStatus;
    }

    @Column(name = "userName", nullable= true, length = 50)
    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    @Column(name = "maxUpdateTime", nullable= true, length = 11)
    public Date getMaxUpdateTime() {
        return maxUpdateTime;
    }

    public void setMaxUpdateTime(Date maxUpdateTime) {
        this.maxUpdateTime = maxUpdateTime;
    }

    @Column(name = "refundType", nullable= true, length = 11)
    public Integer getRefundType() {
        return refundType;
    }

    public void setRefundType(Integer refundType) {
        this.refundType = refundType;
    }

    @Column(name = "realName", nullable= true, length = 32)
    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName;
    }


}